#ifndef _COMMON_H_
#define _COMMON_H_

//#define ENABLE_GRAPHICS_DEBUGGING

#ifndef USE_GPU
	#ifdef USE_DX11
		#define USE_GPU
	#endif
#endif

#define SAFE_DELETE_ARRAY(p) { if(p) { delete[] (p); (p)=NULL; } }
#define SAFE_DELETE(p) { if(p) { delete (p); (p)=NULL; } }
#define SAFE_ALIGNED_DELETE(p) { if(p) { _aligned_free(p); (p)=NULL; } }
#define SAFE_RELEASE(p) { if(p) { p->Release(); (p)=NULL; } }


#endif